<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Main extends CI_Controller {
	public function __construct() {
		parent::__construct ();
		$this->load->model( 'model_main' );
		//$this->output->enable_profiler(true);
	}
	
	
	public function index()
	{	
		
		$data['product_cate'] = $this->model_main->get_product_category();
		$data['product_rate'] = $this->model_main->get_product_rate();
		$data['product_format'] = $this->model_main->get_product_format();
		$data['package'] = $this->model_main->get_package();
		$this->load->view ( "main/header", $data );
		$this->load->view ( "main/menu_left", $data );
		$this->load->view ( "main/main", $data );
		$this->load->view ( "main/footer", $data );

	}
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */